package pattern.proxy.static_proxy;

// 代售点
public class ProxyPoint implements TrainStation{
    // 目标对象（代理火车站售票）
    private GuangzhouTrainStation station = new GuangzhouTrainStation();
    @Override
    public void sellTickets() {
        System.out.println("代售点加收5%手续费");
        station.sellTickets();
    }
}
